home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / ddj1291.zip / STAT.ZIP / SOURCE.ZIP / MAKEFILE next >
Text File  |  1990-05-09  |  2KB  |  73 lines

  1. # File:        makefile
  2. #
  3. #        Copyright 1990
  4. #        Fred Motteler and Applied Microsystems Corporation
  5. #        All Rights Reserved
  6. #
  7. # Description:    This makefile makes four executables:
  8. #
  9. #            paes1800.exe    ES 1800 version of statistical
  10. #                    performance analysis tool
  11. #            pamsdos.exe    MS DOS version of statisitical
  12. #                    performance analysis tool
  13. #            pawhere.exe    MS DOS loader locator utility
  14. #            pardmap.exe    Memory map tester/trial reader
  15. #                    utility
  16. #
  17. #        This makefile assumes use of the Lattice version 6.01
  18. #        compiler development package.  Related environment variables
  19. #        are:
  20. #            LA_OPT=-a -D3        (case sensitive externals,
  21. #                         put in debugging info)
  22. #            LC_OPT=-mS -v -D3    (small model, no stack
  23. #                         checking, put in debugging
  24. #                         info)
  25. #            LIB=c:\lc\s        (small model libraries)
  26. #            LMB=/m            (generate memory map)
  27. #
  28. all: paes1800.exe pamsdos.exe pawhere.exe pardmap.exe
  29.  
  30. #   Link the memory map reader tester / trial utility
  31. pardmap.exe: pardmap.c pautil.obj padef.h
  32.     lc -dTEST -opardmapx.obj pardmap.c
  33.     lmb pardmapx+pautil/D;
  34.     del pardmapx.obj
  35.     -del pardmap.exe
  36.     ren pardmapx.exe pardmap.exe
  37.  
  38. #   Link the MS DOS version of the statistical performance analysis tool
  39. pamsdos.exe: pamsdos.obj pardmap.obj pautil.obj patick.obj padisply.obj
  40.     lmb pamsdos+pardmap+pautil+padisply+patick/D;
  41.  
  42. #   Link the ES 1800 version of the statistical performance analysis tool
  43. paes1800.exe: paes1800.obj pardmap.obj pautil.obj patick.obj padisply.obj
  44.     lmb paes1800+pardmap+pautil+padisply,,/m,e:\lc\s\lcc+e:\lc\s\lcr/D; 
  45.  
  46. #   Link the MS DOS loader locator utility
  47. pawhere.exe: pawhere.c
  48.     lc pawhere.c
  49.     lmb pawhere/D;
  50.     pawhere
  51.  
  52. #   Compile/assemble everything
  53. pardmap.obj: pardmap.c padef.h
  54.     lc pardmap.c
  55.  
  56. paes1800.obj: paes1800.c padef.h
  57.     lc paes1800.c
  58.  
  59. pautil.obj: pautil.c padef.h
  60.     lc pautil.c
  61.  
  62. pamsdos.obj: pamsdos.c padef.h
  63.     lc pamsdos.c
  64.  
  65. patick.obj: patick.asm
  66.     lasm -Gs patick.asm
  67.  
  68. padisply.obj: padisply.c padef.h
  69.     lc padisply.c
  70.  
  71.  
  72.  
  73.